﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LanDBom.Models.Procure
{
    public class Find_ZBXX
    {
        LDbaseEntities LD = new LDbaseEntities();
        public List<parice> parices()
        {
          List<parice> listzb  = LD.parice.ToList();
            return listzb;
        }
        //public List<parice> parices(string ZLX)
        //{
        //    List<parice> listPke = LD.parice.Where(x=>x.PA_name==ZLX).ToList();
        //    return listPke;
        //}
        public List<parice> parices_LX(string WLXS)
        {
            List<parice> listPke = LD.parice.Where(x => x.PA_LengBie == WLXS).ToList();
            return listPke;
        }
        //public List<parice> find_ZDJ(string ML,int MK)
        //{
        //    List<parice> listPke = LD.parice.Where(x => x.PA_Pke == MK &&x.PA_name==ML).ToList();
        //    return listPke;
        //}
        //public List<parice> find_WDJ(string ML, string MB)
        //{
        //    List<parice> listPke = LD.parice.Where(x => x.PA_LengBie == MB && x.PA_Xishu == ML).ToList();
        //    return listPke;
        //}
        public List<parice> find_JGF(string ZLB)
        {
            List<parice> listPke = LD.parice.Where(x => x.PA_LengBie == ZLB).ToList();
            return listPke;
        }
    }
}